package com.tian.mapper;

import com.tian.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserMapper {
    List<User> getAllUser();
    User getUserByAccount(@Param("account") String account);
    void updateUser(@Param("account") String account,@Param("password") String password,@Param("image") String image) ;
}
